'''
Created on 2010-2-12

@author: summit
'''
from Container import *


class SearchableContainer(Container):
    '''
    A searchable container is an extension of the container abstraction.It adds 
    to the set of methods provided for containers methods for putting objects in
     and taking objects out, for testing whether a given object is in the container,
    and a method to search the container for a given object.
    '''


    def __init__(self):
        '''
        Constructor
        '''
        super(SearchableContainer, self).__init__()
    
    def __contains__(self, obj):
        pass
    __contains__ = AbstractMethod(__contains__)
    
    def insert(self, obj):
        pass
    insert = AbstractMethod(insert)
    
    def withdraw(self, obj):
        pass
    withdraw = AbstractMethod(withdraw)
    
    def find(self, obj):
        pass
    find = AbstractMethod(find)